package com.ruoyi.merchant.mapper;

import java.util.List;
import com.ruoyi.merchant.domain.MerchantFinancialFlow;

/**
 * 商家收支明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-23
 */
public interface MerchantFinancialFlowMapper 
{
    /**
     * 查询商家收支明细
     * 
     * @param flowId 商家收支明细主键
     * @return 商家收支明细
     */
    public MerchantFinancialFlow selectMerchantFinancialFlowByFlowId(String flowId);

    /**
     * 查询商家收支明细列表
     * 
     * @param merchantFinancialFlow 商家收支明细
     * @return 商家收支明细集合
     */
    public List<MerchantFinancialFlow> selectMerchantFinancialFlowList(MerchantFinancialFlow merchantFinancialFlow);

    /**
     * 新增商家收支明细
     * 
     * @param merchantFinancialFlow 商家收支明细
     * @return 结果
     */
    public int insertMerchantFinancialFlow(MerchantFinancialFlow merchantFinancialFlow);

    /**
     * 修改商家收支明细
     * 
     * @param merchantFinancialFlow 商家收支明细
     * @return 结果
     */
    public int updateMerchantFinancialFlow(MerchantFinancialFlow merchantFinancialFlow);

    /**
     * 删除商家收支明细
     * 
     * @param flowId 商家收支明细主键
     * @return 结果
     */
    public int deleteMerchantFinancialFlowByFlowId(String flowId);

    /**
     * 批量删除商家收支明细
     * 
     * @param flowIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMerchantFinancialFlowByFlowIds(String[] flowIds);
}
